package net.hn.hnms.biz.project.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author 刘昊
 * @date 2024-03-13 10:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("问题整改清单")
public class ProblemRectificationReq extends BaseReq{

    @ApiModelProperty(value = "id")
    private String problemId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;


    @ApiModelProperty(value = "项目IDList")
    private List<String> projectIds;

    @ApiModelProperty(value = "整改下发日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date deliveryDate;

    @ApiModelProperty(value = "整改完成日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date completioDate;

    @ApiModelProperty(value = "整改标题")
    private String rectificationTitle;

    @ApiModelProperty(value = "整改人")
    private String corrector;

    @ApiModelProperty(value = "施工单位")
    private String constructionUnit;

    @ApiModelProperty(value = "整改内容")
    private String rectificationContent;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    private String filePath;

    @ApiModelProperty(value = "公司编码")
    private String companyCode;

    @ApiModelProperty(value = "创建时间",hidden=true)
    private Date createTime;

    @ApiModelProperty(value = "煤矿编码")
    private String mineCode ;
}
